package com.asp.bigdata.flink.kafka2hdfs.pojo;

import java.io.Serializable;
import java.sql.Timestamp;

@Deprecated
public class LgTyrzAnalysis implements Serializable {

    private static final long serialVersionUID = -543267340693958817L;

    private String logDate;
    private String loginIdType;
    private String loginId;
    private String operaType;
    private String status;
    private String appType;
    private String sessionId;
    private String requestDate;
    private String responseDate;
    private String transactionId;
    private String sourceIp;
    private String serverAddr;
    private String data;
    private String key;

    public LgTyrzAnalysis(String logDate, String loginIdType, String loginId, String operaType, String status, String appType, String sessionId, String requestDate, String responseDate, String transactionId, String sourceIp, String serverAddr, String data, String key) {
        this.logDate = logDate;
        this.loginIdType = loginIdType;
        this.loginId = loginId;
        this.operaType = operaType;
        this.status = status;
        this.appType = appType;
        this.sessionId = sessionId;
        this.requestDate = requestDate;
        this.responseDate = responseDate;
        this.transactionId = transactionId;
        this.sourceIp = sourceIp;
        this.serverAddr = serverAddr;
        this.data = data;
        this.key = key;
    }

    public String getLogDate() {
        return logDate;
    }

    public void setLogDate(String logDate) {
        this.logDate = logDate;
    }

    public String getLoginIdType() {
        return loginIdType;
    }

    public void setLoginIdType(String loginIdType) {
        this.loginIdType = loginIdType;
    }

    public String getLoginId() {
        return loginId;
    }

    public void setLoginId(String loginId) {
        this.loginId = loginId;
    }

    public String getOperaType() {
        return operaType;
    }

    public void setOperaType(String operaType) {
        this.operaType = operaType;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getAppType() {
        return appType;
    }

    public void setAppType(String appType) {
        this.appType = appType;
    }

    public String getSessionId() {
        return sessionId;
    }

    public void setSessionId(String sessionId) {
        this.sessionId = sessionId;
    }

    public String getRequestDate() {
        return requestDate;
    }

    public void setRequestDate(String requestDate) {
        this.requestDate = requestDate;
    }

    public String getResponseDate() {
        return responseDate;
    }

    public void setResponseDate(String responseDate) {
        this.responseDate = responseDate;
    }

    public String getTransactionId() {
        return transactionId;
    }

    public void setTransactionId(String transactionId) {
        this.transactionId = transactionId;
    }

    public String getSourceIp() {
        return sourceIp;
    }

    public void setSourceIp(String sourceIp) {
        this.sourceIp = sourceIp;
    }

    public String getServerAddr() {
        return serverAddr;
    }

    public void setServerAddr(String serverAddr) {
        this.serverAddr = serverAddr;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    @Override
    public String toString() {
        return logDate + "|" +
                loginIdType + "|" +
                loginId + "|" +
                operaType + "|" +
                status + "|" +
                appType + "|" +
                sessionId + "|" +
                requestDate + "|" +
                responseDate + "|" +
                transactionId + "|" +
                sourceIp + "|" +
                serverAddr + "|" +
                data + "|" +
                key + "\n";
    }
}
